package cn.edu.hhu.Bean;

/**
 * @anthor: lddd
 * @date: 2020/5/9 - 22:24
 * @description:
 **/
public class Course {
    long cid;//课程号
    String cname;//课程名称
    String tname;//教师名称
    String department;//教师所在院系

    public Course() {
    }

    @Override
    public String toString() {
        return "Course{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", tname='" + tname + '\'' +
                ", department='" + department + '\'' +
                '}';
    }

    public Course(long cid, String cname, String tname, String department) {
        this.cid = cid;
        this.cname = cname;
        this.tname = tname;
        this.department = department;
    }

    public long getCid() {
        return cid;
    }

    public void setCid(long cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
}
